package com.yan.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yk
 * @date 2021/2/23 16:48
 * @description
 */
@RestController
@RequestMapping
public class HelloSpringBoot {
    @RequestMapping("/demo")
    public String demo(){
        return "hello springboot!";
    }
}
